let common = "http://192.168.0.112:8081/circleclass";
function ajax(method, urls, data, callback) {
    $.ajax({
        type: method,
        async: false,
        xhrFields: {
            withCredentials: true
        },
        url: common + urls,
        dataType: "json",
        data: data,
        success: function (data) {
                callback(data);
        },
        error: function (data) {
            alert("请求失败")
        }
    });
}
